package com.sammy.bills;

import android.app.Activity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
//todo
//design
//all basic ui items are going to be created using xml files
//json will be used to store data
//model

//categorie/subcategorie/actiune
//utilitati, gaze/curent/cablu/intretinere
//masina benzina/rovinieta/asigurare/service/cauciucuri
//data elementara - id/nume/valoare/tip/id unitate de masura
//unitate de masura km/ron
//kilometraj/10.000/integer/km
//unitate de masura/id/nume/convertibila/id_unitate_convertire/valoare_convertire

//definire obiecte
//le creeze, le salvez si le folosesc

//1. use reports library as on netcounter
//2. use dropbox from a previous email
//3. use my bills as a starting point
//4. learn to take pictures as on kds
//5. create objects
//6. save them in files
//http://forums.dropbox.com/topic.php?id=35423
//http://hackingmobile.wordpress.com/2011/03/28/dropbox-sdk-for-android/
//picture manager
public class MyBillsActivity extends Activity {
	private LinearLayout mMainLayout;
	public static Activity mActivity;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mActivity = this;
        setContentView(R.layout.main);
        mMainLayout = (LinearLayout) findViewById( R.id.ll_main );
        
        LinearLayout header = (LinearLayout) LayoutInflater.from( mActivity).inflate( R.layout.header_bill, null); 
        LinearLayout bill = (LinearLayout) LayoutInflater.from( mActivity).inflate( R.layout.item_bill, null);
        
        mMainLayout.addView( header );
        mMainLayout.addView( bill );
    }
}